﻿///<reference path="References.js" />
if (window.Gorbatras === undefined) window.Gorbatras = {};  
if (window.Gorbatras.Paths === undefined) window.Gorbatras.Paths = {};
Gorbatras.Paths.JScripts = {};
Gorbatras.Paths.PHPScripts = {};
Gorbatras.Paths.ASPScripts = {};

//The path to the folder where the models are
Gorbatras.Paths.ModelFolder = "Models/";
//The path to the file that has all the info about models, where to find them , what textures e.t.c.!
Gorbatras.Paths.ModelList = Gorbatras.Paths.ModelFolder + "Models.txt";
//The path to the folder where thumbnails of how models looks like-ish
Gorbatras.Paths.ModelThumbnailFolder = Gorbatras.Paths.ModelFolder + "Thumbnails/";
//The path to the folder where textures are
Gorbatras.Paths.TextureFolder = "Textures/";

//****************
//Paths to javascripts
//****************
//Root folder where all javascript is
Gorbatras.Paths.JScripts.Root = "Js/";
//Path to the model classes in the javascript folder
Gorbatras.Paths.JScripts.ModelFolder = Gorbatras.Paths.JScripts.Root + "Model/";
//Shader classes eg. Phong
Gorbatras.Paths.JScripts.Model_ShaderFolder = Gorbatras.Paths.JScripts.ModelFolder + "Shaders/";
//Path to the utility classes in the javascript folder
Gorbatras.Paths.JScripts.UtilityFolder = Gorbatras.Paths.JScripts.Root + "Utility/";
//Path to the view classes in the javascript folder
Gorbatras.Paths.JScripts.ViewFolder = Gorbatras.Paths.JScripts.Root + "View/";
//Library classes, like external stuff for example glMatrix
Gorbatras.Paths.JScripts.LibFolder = Gorbatras.Paths.JScripts.Root + "lib/";

//**************************
//Paths to Shader source code
//**************************
Gorbatras.Paths.ShaderFolderPath = "Shaders/";


//****************
//Paths to PHP scripts
//****************
//Root folder where the php scripts are
Gorbatras.Paths.PHPScripts.Root = "Php/";
Gorbatras.Paths.PHPScripts.GetFile = Gorbatras.Paths.PHPScripts.Root + "Getfile.php";

//****************
//Paths to ASP scripts
//****************
//Root folder where the php scripts are
Gorbatras.Paths.ASPScripts.Root = "Asp/";
Gorbatras.Paths.ASPScripts.GetFile = Gorbatras.Paths.ASPScripts.Root + "Getmodelfile.aspx";

//*******************
//Current Script Path
//*******************
//Depending on what the web server has support for, asp or php, tho I'd say php is default!
//Gorbatras.Paths.CurrentScripts = Gorbatras.Paths.ASPScripts;
Gorbatras.Paths.CurrentScripts = Gorbatras.Paths.ASPScripts;